﻿using AutoTest.Domain;

namespace AutoTest.Business.Options
{
    /// <summary>
    /// 邮箱配置
    /// </summary>
    public class MailkitOption : IDbOption
    {
        /// <summary>
        /// 服务
        /// </summary>
        public string Server { get; set; } = string.Empty;
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string AccountName { get; set; } = string.Empty;
        /// <summary>
        /// 账户
        /// </summary>
        public string Account { get; set; } = string.Empty;
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; } = string.Empty;
        /// <inheritdoc />
        [OptionDescription("", Ignore = true)]
        public string OptionKey => AppConsts.APPSETTING_MAILKIT;
    }
}
